
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import 'amfe-flexible'
import '@/utils/rem.js'  

// 2. 引入组件样式
import 'vant/lib/index.css';
import Vant from 'vant'

import { Swipe, SwipeItem } from 'vant';

import { Card } from 'vant';


const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(Vant)
app.use(Swipe);
app.use(SwipeItem);
app.use(Card);

app.mount('#app')
